/*
*******************************************************************************
* ansi c source code
* file name:
*	InsertCP.c
* abstract:
*	to insert cylic prefix of a OFDM symbol 
* author:Fangming He
*******************************************************************************
*/
#include "../common/globaldef.h"


void InsertCP(int CPLength,int FFTSize,struct Complex *Symbol)
{
	int i;
	/*Insert CP from the start of the Symbol*/
	for(i=0;i<CPLength;i++)
	{
		Symbol[i]=Symbol[FFTSize+i];
	}
}
